package dto;

public class PartOfListDTO {

	private String name;
	private int tournamentId;

	public PartOfListDTO(String name, int tournamentId){
		this.name = name;
		this.tournamentId = tournamentId;

	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getTournamentId() {
		return tournamentId;
	}

	public void setTournamentId(int tournamentId) {
		this.tournamentId = tournamentId;
	}

	@Override
	public String toString() {
		return "PartOfListDTO [name=" + name + ", tournamentId=" + tournamentId
				+ "]";
	}

}